package com.example.jmeterTest.service;

import com.example.jmeterTest.entity.User;
import reactor.core.publisher.Mono;

public interface UserService {
    // 添加用户
    Mono<User> addUser(User user);
    
    // 根据ID查询用户
    Mono<User> getUserById(Long id);
    
    // 更新用户
    Mono<Boolean> updateUser(User user);
    
    // 删除用户
    Mono<Boolean> deleteUser(Long id);
}